# 继承
class Animal(object):
    def __init__(self):
        pass
    def run(self):
        print('Animal is run')
    
class Dog(Animal):
    pass

class Cat(Animal):
    pass

dog = Dog()
dog.run()

cat = Cat()
cat.run()